package com.sdruixinggroup.mondayb2b.models;

import java.io.Serializable;
import java.util.List;

/**
 * Created by 00029935 on 2017/12/4.
 */

public class Province implements Serializable{

    /**
     * err_code : 0
     * err_msg : OK
     * timestamp : 1512378470
     * regions : [{"id":1,"name":"北京市"},{"id":2,"name":"天津市"},{"id":3,"name":"河北省"},{"id":4,"name":"山西省"},{"id":5,"name":"内蒙古自治区"},{"id":6,"name":"辽宁省"},{"id":7,"name":"吉林省"},{"id":8,"name":"黑龙江省"},{"id":9,"name":"上海市"},{"id":11,"name":"江苏省"},{"id":12,"name":"浙江省"},{"id":13,"name":"安徽省"},{"id":14,"name":"福建省"},{"id":15,"name":"江西省"},{"id":16,"name":"山东省"},{"id":18,"name":"河南省"},{"id":19,"name":"湖北省"},{"id":21,"name":"湖南省"},{"id":26,"name":"广东省"},{"id":40,"name":"广西壮族自治区"},{"id":43,"name":"海南省"},{"id":44,"name":"重庆市"},{"id":45,"name":"四川省"},{"id":54,"name":"贵州省"},{"id":56,"name":"云南省"},{"id":57,"name":"西藏自治区"},{"id":58,"name":"陕西省"},{"id":60,"name":"甘肃省"},{"id":81,"name":"青海省"},{"id":113,"name":"宁夏回族自治区"},{"id":198,"name":"新疆维吾尔自治区"}]
     */

    private int err_code;
    private String err_msg;
    private int timestamp;
    private List<RegionsBean> regions;

    public int getErr_code() {
        return err_code;
    }

    public void setErr_code(int err_code) {
        this.err_code = err_code;
    }

    public String getErr_msg() {
        return err_msg;
    }

    public void setErr_msg(String err_msg) {
        this.err_msg = err_msg;
    }

    public int getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(int timestamp) {
        this.timestamp = timestamp;
    }

    public List<RegionsBean> getRegions() {
        return regions;
    }

    public void setRegions(List<RegionsBean> regions) {
        this.regions = regions;
    }

    public static class RegionsBean implements Serializable{
        public boolean isSelector = false;
        /**
         * id : 1
         * name : 北京市
         */

        private int id;
        private String name;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }
}
